<script setup lang="ts">
  import { defineStore } from '@naturefw/nf-state'

  const state = defineStore('test', {
    state: {
      name: 'ss'
    }

  })

  console.log('state', state)
  const props = defineProps({
    foo: { type: String, required: true },
    bar: Number
  })
  console.log('props', props)

</script>

<template>
  <el-button type="">我是一个按钮</el-button>
  {{ state }}22

  
</template>
